package de.thw.web.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import de.thw.web.dao.TeamDAO;
import de.thw.web.model.Team;

@Repository("TeamDAO")
@Transactional
public class TeamDAOImpl extends AbstractDAOImpl<Team> implements TeamDAO {

	public Team load(String uid) {
		return super.load(Team.class, uid);
	};

	public List<Team> getAll() {
		return super.getAll("Team");
	};

};